<template>
  <div class="tool-bar-ri">
    <div class="header-icon">
      <!-- <AssemblySize id="assemblySize" /> -->
      <SwitchDark />
      <Language />
      <!-- <SearchMenu id="searchMenu" /> -->
      <!-- <FunctionMenu /> -->
     <!-- <div class="toolbar-link">
        <ThemeSetting />
      </div> -->
  
        <DownFile />
    
      <!-- <div class="toolbar-link">
        <Message />
      </div> -->
      <div class="toolbar-link">
        <Fullscreen />
      </div>
    </div>
    <Avatar />
  </div>
</template>

<script setup lang="ts">
  import { computed } from "vue";
  import { useUserStore } from "@/stores/modules/user";
  // import AssemblySize from "./components/AssemblySize.vue";
  import Language from "./components/Language.vue";
  import SearchMenu from "./components/SearchMenu.vue";
  import FunctionMenu from "./components/FunctionMenu.vue";
  import ThemeSetting from "./components/ThemeSetting.vue";
  import Message from "./components/Message.vue";
  import Fullscreen from "./components/Fullscreen.vue";
  import Avatar from "./components/Avatar.vue";
  import SwitchDark from "@/components/SwitchDark/index.vue";
  import DownFile from './components/downFile/index.vue';//下载文件
  const userStore = useUserStore();

</script>

<style scoped lang="scss">
  .tool-bar-ri {
    display: flex;
    align-items: center;
    justify-content: center;
    //padding-right: 25px;

    .header-icon {
      display: flex;
      align-items: center;
	  margin-right: 10px;
      &>* {
        //margin-left: 21px;
        color: var(--el-header-text-color);
      }
    }

    .username {
      margin: 0 20px;
      font-size: 15px;
      color: var(--el-header-text-color);
    }


 


  }

 
</style>